package com.jellyfishumbrella;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.AffineTransform;
import java.awt.geom.Ellipse2D;
import java.awt.image.BufferedImage;

import javax.swing.JPanel;

public class GamePanel extends JPanel {
	Graphics2D	g2;
	LandscapeBufferedImage landscapeBuffer;

	public GamePanel() {
		super();
		landscapeBuffer = new LandscapeBufferedImage(600, 600, BufferedImage.TYPE_INT_ARGB);
	}
	
	public void paint(Graphics g){
		super.paint(g);
		
		Graphics2D g2 = (Graphics2D) g;
		
//		landscapeBuffer.doDraw();

		g2.drawImage(landscapeBuffer, 0, 0, null);
	}
}
